package org.dromara.business.domain.bo;

import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.business.domain.CompanyResumeLibrary;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * 公司简历库业务对象 company_resume_library
 *
 * @author zlj
 * @date 2025-01-22
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = CompanyResumeLibrary.class, reverseConvertGenerate = false)
public class CompanyResumeLibraryBo extends BaseEntity {

    @NotNull(message = "不能为空", groups = { EditGroup.class })
    private Long id;
    /**
     * 公司编号
     */
    @NotNull(message = "公司编号不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long companyId;
//    @ExcelProperty(value = "信息对象编号")
    private Long businessInformationId;

    /**
     * 简历编号
     */
//    @NotBlank(message = "简历编号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String url;


}
